sf: spi_flash_validate_params => spi_flash_scan
authorJagan Teki <[email protected]>
Tue, 29 Sep 2015 11:58:20 +0000 (17:28 +0530)
committerJagan Teki <[email protected]>
Fri, 11 Dec 2015 16:42:23 +0000 (22:12 +0530)
commit3a1adb621b985ebaf2c72ff179190b305577e1de
treead9258e266c626b9fedfcbab25c337733141ece4
parent8e4920e53e1a45658743d79d6fa29a1b44448622
sf: spi_flash_validate_params => spi_flash_scan

Rename spi_flash_validate_params to spi_flash_scan
as this code not only deals with params setup but
also configure all spi_flash attributes.

And also moved all flash related code into
spi_flash_scan for future functionality addition.

Tested-by: Jagan Teki <[email protected]>
Tested-by: Bin Meng <[email protected]>
Reviewed-by: Bin Meng <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Signed-off-by: Jagan Teki <[email protected]>
drivers/mtd/spi/sf_probe.c